package com.ihr360.binlog;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication
@ComponentScan(value = "com.ihr360.binlog")
@ComponentScan(value = "com.ihr360.admin.client")
@PropertySource(value = "classpath:git.properties",ignoreResourceNotFound = true)
@EnableFeignClients(basePackages = {"com.ihr360.binlog.service"})
public class EventSourceApplication {
    public static void main(String[] args) {
        SpringApplication.run(EventSourceApplication.class, args);
    }
}